/**
 */
package BlipLanguage.impl;

import BlipLanguage.AndroidTransformer;
import BlipLanguage.BlipApplication;
import BlipLanguage.BlipLanguageFactory;
import BlipLanguage.BlipLanguagePackage;
import BlipLanguage.BlipModel;
import BlipLanguage.BlipModelAttribute;

import BlipLanguage.IosTransformer;
import MocaTree.MocaTreePackage;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EOperation;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class BlipLanguagePackageImpl extends EPackageImpl implements
		BlipLanguagePackage {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass androidTransformerEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass blipApplicationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass blipModelEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass blipModelAttributeEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass iosTransformerEClass = null;

	/**
	 * Creates an instance of the model <b>Package</b>, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * <p>Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see BlipLanguage.BlipLanguagePackage#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private BlipLanguagePackageImpl() {
		super(eNS_URI, BlipLanguageFactory.eINSTANCE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
	 * 
	 * <p>This method is used to initialize {@link BlipLanguagePackage#eINSTANCE} when that field is accessed.
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #eNS_URI
	 * @see #createPackageContents()
	 * @see #initializePackageContents()
	 * @generated
	 */
	public static BlipLanguagePackage init() {
		if (isInited)
			return (BlipLanguagePackage) EPackage.Registry.INSTANCE
					.getEPackage(BlipLanguagePackage.eNS_URI);

		// Obtain or create and register package
		BlipLanguagePackageImpl theBlipLanguagePackage = (BlipLanguagePackageImpl) (EPackage.Registry.INSTANCE
				.get(eNS_URI) instanceof BlipLanguagePackageImpl ? EPackage.Registry.INSTANCE
				.get(eNS_URI) : new BlipLanguagePackageImpl());

		isInited = true;

		// Initialize simple dependencies
		MocaTreePackage.eINSTANCE.eClass();

		// Create package meta-data objects
		theBlipLanguagePackage.createPackageContents();

		// Initialize created meta-data
		theBlipLanguagePackage.initializePackageContents();

		// Mark meta-data to indicate it can't be changed
		theBlipLanguagePackage.freeze();

		// Update the registry and return the package
		EPackage.Registry.INSTANCE.put(BlipLanguagePackage.eNS_URI,
				theBlipLanguagePackage);
		return theBlipLanguagePackage;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getAndroidTransformer() {
		return androidTransformerEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EOperation getAndroidTransformer__TransformApplication__BlipApplication() {
		return androidTransformerEClass.getEOperations().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EOperation getAndroidTransformer__TransformModelToEntity__BlipModel_Folder() {
		return androidTransformerEClass.getEOperations().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getBlipApplication() {
		return blipApplicationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getBlipApplication_Models() {
		return (EReference) blipApplicationEClass.getEStructuralFeatures().get(
				0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getBlipApplication_Title() {
		return (EAttribute) blipApplicationEClass.getEStructuralFeatures().get(
				1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getBlipApplication_PackageName() {
		return (EAttribute) blipApplicationEClass.getEStructuralFeatures().get(
				2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getBlipApplication_AndroidPlayLibraryPath() {
		return (EAttribute) blipApplicationEClass.getEStructuralFeatures().get(
				3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getBlipApplication_AndroidMapsApiKey() {
		return (EAttribute) blipApplicationEClass.getEStructuralFeatures().get(
				4);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getBlipModel() {
		return blipModelEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getBlipModel_Attributes() {
		return (EReference) blipModelEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getBlipModel_Name() {
		return (EAttribute) blipModelEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getBlipModelAttribute() {
		return blipModelAttributeEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getBlipModelAttribute_Name() {
		return (EAttribute) blipModelAttributeEClass.getEStructuralFeatures()
				.get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getBlipModelAttribute_Type() {
		return (EAttribute) blipModelAttributeEClass.getEStructuralFeatures()
				.get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getIosTransformer() {
		return iosTransformerEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EOperation getIosTransformer__TransformApplication__BlipApplication() {
		return iosTransformerEClass.getEOperations().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public BlipLanguageFactory getBlipLanguageFactory() {
		return (BlipLanguageFactory) getEFactoryInstance();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isCreated = false;

	/**
	 * Creates the meta-model objects for the package.  This method is
	 * guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void createPackageContents() {
		if (isCreated)
			return;
		isCreated = true;

		// Create classes and their features
		androidTransformerEClass = createEClass(ANDROID_TRANSFORMER);
		createEOperation(androidTransformerEClass,
				ANDROID_TRANSFORMER___TRANSFORM_APPLICATION__BLIPAPPLICATION);
		createEOperation(androidTransformerEClass,
				ANDROID_TRANSFORMER___TRANSFORM_MODEL_TO_ENTITY__BLIPMODEL_FOLDER);

		blipApplicationEClass = createEClass(BLIP_APPLICATION);
		createEReference(blipApplicationEClass, BLIP_APPLICATION__MODELS);
		createEAttribute(blipApplicationEClass, BLIP_APPLICATION__TITLE);
		createEAttribute(blipApplicationEClass, BLIP_APPLICATION__PACKAGE_NAME);
		createEAttribute(blipApplicationEClass,
				BLIP_APPLICATION__ANDROID_PLAY_LIBRARY_PATH);
		createEAttribute(blipApplicationEClass,
				BLIP_APPLICATION__ANDROID_MAPS_API_KEY);

		blipModelEClass = createEClass(BLIP_MODEL);
		createEReference(blipModelEClass, BLIP_MODEL__ATTRIBUTES);
		createEAttribute(blipModelEClass, BLIP_MODEL__NAME);

		blipModelAttributeEClass = createEClass(BLIP_MODEL_ATTRIBUTE);
		createEAttribute(blipModelAttributeEClass, BLIP_MODEL_ATTRIBUTE__NAME);
		createEAttribute(blipModelAttributeEClass, BLIP_MODEL_ATTRIBUTE__TYPE);

		iosTransformerEClass = createEClass(IOS_TRANSFORMER);
		createEOperation(iosTransformerEClass,
				IOS_TRANSFORMER___TRANSFORM_APPLICATION__BLIPAPPLICATION);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isInitialized = false;

	/**
	 * Complete the initialization of the package and its meta-model.  This
	 * method is guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void initializePackageContents() {
		if (isInitialized)
			return;
		isInitialized = true;

		// Initialize package
		setName(eNAME);
		setNsPrefix(eNS_PREFIX);
		setNsURI(eNS_URI);

		// Obtain other dependent packages
		MocaTreePackage theMocaTreePackage = (MocaTreePackage) EPackage.Registry.INSTANCE
				.getEPackage(MocaTreePackage.eNS_URI);

		// Create type parameters

		// Set bounds for type parameters

		// Add supertypes to classes

		// Initialize classes, features, and operations; add parameters
		initEClass(androidTransformerEClass, AndroidTransformer.class,
				"AndroidTransformer", !IS_ABSTRACT, !IS_INTERFACE,
				IS_GENERATED_INSTANCE_CLASS);

		EOperation op = initEOperation(
				getAndroidTransformer__TransformApplication__BlipApplication(),
				theMocaTreePackage.getFolder(), "transformApplication", 0, 1,
				IS_UNIQUE, IS_ORDERED);
		addEParameter(op, this.getBlipApplication(), "application", 0, 1,
				IS_UNIQUE, IS_ORDERED);

		op = initEOperation(
				getAndroidTransformer__TransformModelToEntity__BlipModel_Folder(),
				theMocaTreePackage.getFile(), "transformModelToEntity", 0, 1,
				IS_UNIQUE, IS_ORDERED);
		addEParameter(op, this.getBlipModel(), "model", 0, 1, IS_UNIQUE,
				IS_ORDERED);
		addEParameter(op, theMocaTreePackage.getFolder(), "entityFolder", 0, 1,
				IS_UNIQUE, IS_ORDERED);

		initEClass(blipApplicationEClass, BlipApplication.class,
				"BlipApplication", !IS_ABSTRACT, !IS_INTERFACE,
				IS_GENERATED_INSTANCE_CLASS);
		initEReference(getBlipApplication_Models(), this.getBlipModel(), null,
				"models", null, 0, -1, BlipApplication.class, !IS_TRANSIENT,
				!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
				!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getBlipApplication_Title(), ecorePackage.getEString(),
				"title", null, 1, 1, BlipApplication.class, !IS_TRANSIENT,
				!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
				!IS_DERIVED, !IS_ORDERED);
		initEAttribute(getBlipApplication_PackageName(),
				ecorePackage.getEString(), "packageName", null, 1, 1,
				BlipApplication.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
				!IS_ORDERED);
		initEAttribute(getBlipApplication_AndroidPlayLibraryPath(),
				ecorePackage.getEString(), "androidPlayLibraryPath", null, 1,
				1, BlipApplication.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
				!IS_ORDERED);
		initEAttribute(getBlipApplication_AndroidMapsApiKey(),
				ecorePackage.getEString(), "androidMapsApiKey", null, 1, 1,
				BlipApplication.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
				!IS_ORDERED);

		initEClass(blipModelEClass, BlipModel.class, "BlipModel", !IS_ABSTRACT,
				!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getBlipModel_Attributes(), this.getBlipModelAttribute(),
				null, "attributes", null, 0, -1, BlipModel.class,
				!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
				!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
				IS_ORDERED);
		initEAttribute(getBlipModel_Name(), ecorePackage.getEString(), "name",
				null, 1, 1, BlipModel.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
				!IS_ORDERED);

		initEClass(blipModelAttributeEClass, BlipModelAttribute.class,
				"BlipModelAttribute", !IS_ABSTRACT, !IS_INTERFACE,
				IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getBlipModelAttribute_Name(), ecorePackage.getEString(),
				"name", null, 1, 1, BlipModelAttribute.class, !IS_TRANSIENT,
				!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
				!IS_DERIVED, !IS_ORDERED);
		initEAttribute(getBlipModelAttribute_Type(), ecorePackage.getEString(),
				"type", null, 1, 1, BlipModelAttribute.class, !IS_TRANSIENT,
				!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
				!IS_DERIVED, !IS_ORDERED);

		initEClass(iosTransformerEClass, IosTransformer.class,
				"IosTransformer", !IS_ABSTRACT, !IS_INTERFACE,
				IS_GENERATED_INSTANCE_CLASS);

		op = initEOperation(
				getIosTransformer__TransformApplication__BlipApplication(),
				theMocaTreePackage.getFolder(), "transformApplication", 0, 1,
				IS_UNIQUE, IS_ORDERED);
		addEParameter(op, this.getBlipApplication(), "application", 0, 1,
				IS_UNIQUE, IS_ORDERED);

		// Create resource
		createResource(eNS_URI);

		// Create annotations
		// SDM
		createSDMAnnotations();
	}

	/**
	 * Initializes the annotations for <b>SDM</b>.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void createSDMAnnotations() {
		String source = "SDM";
		addAnnotation(
				getAndroidTransformer__TransformApplication__BlipApplication(),
				source,
				new String[] {
						"XMI",
						"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<activities:Activity xmi:version=\"2.0\" xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activities=\"http://www.moflon.org.SDMLanguage.activities\" xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" xmlns:expressions=\"http://www.moflon.org.SDMLanguage.expressions\" xmlns:patternExpressions=\"http://www.moflon.org.SDMLanguage.patterns.patternExpressions\">\r\n  <owningOperation href=\"http://www.moflon.org.BlipLanguage#//AndroidTransformer/transformApplication\"/>\r\n  <ownedActivityNode xsi:type=\"activities:StopNode\" incoming=\"//@ownedActivityEdge.1\">\r\n    <returnValue xsi:type=\"patternExpressions:ObjectVariableExpression\" object=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.1\"/>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StoryNode\" name=\"modelInApplication\" outgoing=\"//@ownedActivityEdge.0 //@ownedActivityEdge.1\" incoming=\"//@ownedActivityEdge.3 //@ownedActivityEdge.6\" forEach=\"true\">\r\n    <storyPattern>\r\n      <objectVariable name=\"application\" outgoingLink=\"//@ownedActivityNode.1/@storyPattern/@linkVariable.0\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipApplication\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"model\" incomingLink=\"//@ownedActivityNode.1/@storyPattern/@linkVariable.0\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipModel\"/>\r\n      </objectVariable>\r\n      <linkVariable name=\"models\" target=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.1\" source=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.0\"/>\r\n    </storyPattern>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StoryNode\" name=\"attributeInModel\" outgoing=\"//@ownedActivityEdge.2 //@ownedActivityEdge.3\" incoming=\"//@ownedActivityEdge.4 //@ownedActivityEdge.5\" forEach=\"true\">\r\n    <storyPattern>\r\n      <objectVariable name=\"model\" outgoingLink=\"//@ownedActivityNode.2/@storyPattern/@linkVariable.0\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipModel\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"attribute\" incomingLink=\"//@ownedActivityNode.2/@storyPattern/@linkVariable.0\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipModelAttribute\"/>\r\n      </objectVariable>\r\n      <linkVariable name=\"attributes\" target=\"//@ownedActivityNode.2/@storyPattern/@objectVariable.1\" source=\"//@ownedActivityNode.2/@storyPattern/@objectVariable.0\"/>\r\n    </storyPattern>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StoryNode\" name=\"createAttributeNode\" outgoing=\"//@ownedActivityEdge.4\" incoming=\"//@ownedActivityEdge.2\">\r\n    <storyPattern>\r\n      <objectVariable name=\"attribute\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipModelAttribute\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"entityNode\" incomingLink=\"//@ownedActivityNode.3/@storyPattern/@linkVariable.0\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"attributeNode\" outgoingLink=\"//@ownedActivityNode.3/@storyPattern/@linkVariable.0 //@ownedActivityNode.3/@storyPattern/@linkVariable.1 //@ownedActivityNode.3/@storyPattern/@linkVariable.2 //@ownedActivityNode.3/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;Attribute&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"attributeNameAttr\" incomingLink=\"//@ownedActivityNode.3/@storyPattern/@linkVariable.1\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Attribute\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;name&quot;\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//Attribute/value\"/>\r\n          <valueExpression xsi:type=\"patternExpressions:AttributeValueExpression\" object=\"//@ownedActivityNode.2/@storyPattern/@objectVariable.1\">\r\n            <attribute href=\"http://www.moflon.org.BlipLanguage#//BlipModelAttribute/name\"/>\r\n          </valueExpression>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/index\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"0\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"attributeUpperNameAttr\" incomingLink=\"//@ownedActivityNode.3/@storyPattern/@linkVariable.2\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Attribute\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;firstUpperName&quot;\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//Attribute/value\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\" attribute.getName().substring(0,1).toUpperCase() + attribute.getName().substring(1) \"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/index\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"1\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"attributeTypeAttr\" incomingLink=\"//@ownedActivityNode.3/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Attribute\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;type&quot;\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//Attribute/value\"/>\r\n          <valueExpression xsi:type=\"patternExpressions:AttributeValueExpression\" object=\"//@ownedActivityNode.2/@storyPattern/@objectVariable.1\">\r\n            <attribute href=\"http://www.moflon.org.BlipLanguage#//BlipModelAttribute/type\"/>\r\n          </valueExpression>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/index\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"2\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <linkVariable name=\"parentNode\" target=\"//@ownedActivityNode.3/@storyPattern/@objectVariable.1\" source=\"//@ownedActivityNode.3/@storyPattern/@objectVariable.2\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"attribute\" target=\"//@ownedActivityNode.3/@storyPattern/@objectVariable.3\" source=\"//@ownedActivityNode.3/@storyPattern/@objectVariable.2\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"attribute\" target=\"//@ownedActivityNode.3/@storyPattern/@objectVariable.4\" source=\"//@ownedActivityNode.3/@storyPattern/@objectVariable.2\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"attribute\" target=\"//@ownedActivityNode.3/@storyPattern/@objectVariable.5\" source=\"//@ownedActivityNode.3/@storyPattern/@objectVariable.2\" bindingOperator=\"CREATE\"/>\r\n    </storyPattern>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StoryNode\" name=\"createEntity\" outgoing=\"//@ownedActivityEdge.5\" incoming=\"//@ownedActivityEdge.0\">\r\n    <storyPattern>\r\n      <objectVariable name=\"model\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipModel\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"application\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipApplication\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"entityFolder\" outgoingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.0\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"file\" incomingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.0\" outgoingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.1\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//File\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\" model.getName() + &quot;.java&quot; \"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"rootNode\" incomingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.1 //@ownedActivityNode.4/@storyPattern/@linkVariable.2 //@ownedActivityNode.4/@storyPattern/@linkVariable.4 //@ownedActivityNode.4/@storyPattern/@linkVariable.8\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;JAVA&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"packageNode\" outgoingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.2 //@ownedActivityNode.4/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/index\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"0\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;Package&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"packageAttr\" incomingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Attribute\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;name&quot;\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//Attribute/value\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\" application.getPackageName() + &quot;.entities&quot; \"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/index\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"0\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"importsNode\" incomingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.5 //@ownedActivityNode.4/@storyPattern/@linkVariable.6\" outgoingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.4\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/index\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"1\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;Imports&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"importsSerialNode\" outgoingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.5\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;java.io.Serializable&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"importsDateNode\" outgoingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.6\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;java.util.Date&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"entityNode\" outgoingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.7 //@ownedActivityNode.4/@storyPattern/@linkVariable.8\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/index\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"2\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;Entity&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"classNameAttr\" incomingLink=\"//@ownedActivityNode.4/@storyPattern/@linkVariable.7\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Attribute\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;className&quot;\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//Attribute/value\"/>\r\n          <valueExpression xsi:type=\"patternExpressions:AttributeValueExpression\" object=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.1\">\r\n            <attribute href=\"http://www.moflon.org.BlipLanguage#//BlipModel/name\"/>\r\n          </valueExpression>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/index\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"0\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <linkVariable name=\"file\" target=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.3\" source=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.2\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"rootNode\" target=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.4\" source=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.3\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"parentNode\" target=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.4\" source=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.5\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"attribute\" target=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.6\" source=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.5\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"parentNode\" target=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.4\" source=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.7\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"parentNode\" target=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.7\" source=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.8\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"parentNode\" target=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.7\" source=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.9\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"attribute\" target=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.11\" source=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.10\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"parentNode\" target=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.4\" source=\"//@ownedActivityNode.4/@storyPattern/@objectVariable.10\" bindingOperator=\"CREATE\"/>\r\n    </storyPattern>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StoryNode\" name=\"createStrings\" outgoing=\"//@ownedActivityEdge.6\" incoming=\"//@ownedActivityEdge.7\">\r\n    <storyPattern>\r\n      <objectVariable name=\"application\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipApplication\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"resValuesFolder\" outgoingLink=\"//@ownedActivityNode.5/@storyPattern/@linkVariable.0\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"file\" incomingLink=\"//@ownedActivityNode.5/@storyPattern/@linkVariable.0\" outgoingLink=\"//@ownedActivityNode.5/@storyPattern/@linkVariable.1\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//File\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;strings.xml&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"rootNode\" incomingLink=\"//@ownedActivityNode.5/@storyPattern/@linkVariable.1\" outgoingLink=\"//@ownedActivityNode.5/@storyPattern/@linkVariable.2\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;XML&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"rootContentNode\" incomingLink=\"//@ownedActivityNode.5/@storyPattern/@linkVariable.2\" outgoingLink=\"//@ownedActivityNode.5/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;Strings&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"appNameAttr\" incomingLink=\"//@ownedActivityNode.5/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Attribute\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;app_name&quot;\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//Attribute/value\"/>\r\n          <valueExpression xsi:type=\"patternExpressions:AttributeValueExpression\" object=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.0\">\r\n            <attribute href=\"http://www.moflon.org.BlipLanguage#//BlipApplication/title\"/>\r\n          </valueExpression>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <linkVariable name=\"file\" target=\"//@ownedActivityNode.5/@storyPattern/@objectVariable.2\" source=\"//@ownedActivityNode.5/@storyPattern/@objectVariable.1\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"rootNode\" target=\"//@ownedActivityNode.5/@storyPattern/@objectVariable.3\" source=\"//@ownedActivityNode.5/@storyPattern/@objectVariable.2\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"children\" target=\"//@ownedActivityNode.5/@storyPattern/@objectVariable.4\" source=\"//@ownedActivityNode.5/@storyPattern/@objectVariable.3\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"attribute\" target=\"//@ownedActivityNode.5/@storyPattern/@objectVariable.5\" source=\"//@ownedActivityNode.5/@storyPattern/@objectVariable.4\" bindingOperator=\"CREATE\"/>\r\n    </storyPattern>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StoryNode\" name=\"createAndroidManifest\" outgoing=\"//@ownedActivityEdge.7\" incoming=\"//@ownedActivityEdge.8\">\r\n    <storyPattern>\r\n      <objectVariable name=\"application\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipApplication\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"rootFolder\" outgoingLink=\"//@ownedActivityNode.6/@storyPattern/@linkVariable.0\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"file\" incomingLink=\"//@ownedActivityNode.6/@storyPattern/@linkVariable.0\" outgoingLink=\"//@ownedActivityNode.6/@storyPattern/@linkVariable.1\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//File\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;AndroidManifest.xml&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"rootNode\" incomingLink=\"//@ownedActivityNode.6/@storyPattern/@linkVariable.1\" outgoingLink=\"//@ownedActivityNode.6/@storyPattern/@linkVariable.2\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;XML&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"rootContentNode\" incomingLink=\"//@ownedActivityNode.6/@storyPattern/@linkVariable.2\" outgoingLink=\"//@ownedActivityNode.6/@storyPattern/@linkVariable.3 //@ownedActivityNode.6/@storyPattern/@linkVariable.4\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;AndroidManifest&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"packageNameNode\" incomingLink=\"//@ownedActivityNode.6/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Attribute\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;packageName&quot;\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//Attribute/value\"/>\r\n          <valueExpression xsi:type=\"patternExpressions:AttributeValueExpression\" object=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.0\">\r\n            <attribute href=\"http://www.moflon.org.BlipLanguage#//BlipApplication/packageName\"/>\r\n          </valueExpression>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/index\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"0\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"mapsApiKeyNode\" incomingLink=\"//@ownedActivityNode.6/@storyPattern/@linkVariable.4\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Attribute\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;mapsApiKey&quot;\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//Attribute/value\"/>\r\n          <valueExpression xsi:type=\"patternExpressions:AttributeValueExpression\" object=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.0\">\r\n            <attribute href=\"http://www.moflon.org.BlipLanguage#//BlipApplication/androidMapsApiKey\"/>\r\n          </valueExpression>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/index\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"1\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <linkVariable name=\"file\" target=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.2\" source=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.1\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"rootNode\" target=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.3\" source=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.2\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"children\" target=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.4\" source=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.3\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"attribute\" target=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.5\" source=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.4\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"attribute\" target=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.6\" source=\"//@ownedActivityNode.6/@storyPattern/@objectVariable.4\" bindingOperator=\"CREATE\"/>\r\n    </storyPattern>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StoryNode\" name=\"createProjectProperties\" outgoing=\"//@ownedActivityEdge.8\" incoming=\"//@ownedActivityEdge.9\">\r\n    <storyPattern>\r\n      <objectVariable name=\"application\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipApplication\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"rootFolder\" outgoingLink=\"//@ownedActivityNode.7/@storyPattern/@linkVariable.0\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"file\" incomingLink=\"//@ownedActivityNode.7/@storyPattern/@linkVariable.0\" outgoingLink=\"//@ownedActivityNode.7/@storyPattern/@linkVariable.1\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//File\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;project.properties&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"rootNode\" incomingLink=\"//@ownedActivityNode.7/@storyPattern/@linkVariable.1 //@ownedActivityNode.7/@storyPattern/@linkVariable.2 //@ownedActivityNode.7/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;Properties&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"targetNode\" outgoingLink=\"//@ownedActivityNode.7/@storyPattern/@linkVariable.2\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Attribute\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;target&quot;\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//Attribute/value\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;7&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"libraryNode\" outgoingLink=\"//@ownedActivityNode.7/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Attribute\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;android.library.reference.1&quot;\"/>\r\n        </attributeAssignment>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//Attribute/value\"/>\r\n          <valueExpression xsi:type=\"patternExpressions:AttributeValueExpression\" object=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.0\">\r\n            <attribute href=\"http://www.moflon.org.BlipLanguage#//BlipApplication/androidPlayLibraryPath\"/>\r\n          </valueExpression>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <linkVariable name=\"file\" target=\"//@ownedActivityNode.7/@storyPattern/@objectVariable.2\" source=\"//@ownedActivityNode.7/@storyPattern/@objectVariable.1\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"rootNode\" target=\"//@ownedActivityNode.7/@storyPattern/@objectVariable.3\" source=\"//@ownedActivityNode.7/@storyPattern/@objectVariable.2\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"node\" target=\"//@ownedActivityNode.7/@storyPattern/@objectVariable.3\" source=\"//@ownedActivityNode.7/@storyPattern/@objectVariable.4\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"node\" target=\"//@ownedActivityNode.7/@storyPattern/@objectVariable.3\" source=\"//@ownedActivityNode.7/@storyPattern/@objectVariable.5\" bindingOperator=\"CREATE\"/>\r\n    </storyPattern>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StoryNode\" name=\"initFolder\" outgoing=\"//@ownedActivityEdge.9\" incoming=\"//@ownedActivityEdge.10\">\r\n    <storyPattern>\r\n      <objectVariable name=\"application\" bindingState=\"BOUND\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.BlipLanguage#//BlipApplication\"/>\r\n      </objectVariable>\r\n      <objectVariable name=\"rootFolder\" outgoingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.0 //@ownedActivityNode.8/@storyPattern/@linkVariable.1\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;android&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"srcFolder\" incomingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.0\" outgoingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.2\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;src&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"resFolder\" incomingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.1\" outgoingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;res&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"resValuesFolder\" incomingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.3\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;values&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"srcDeFolder\" incomingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.2\" outgoingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.4\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;de&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"srcDeTudFolder\" incomingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.4\" outgoingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.5\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;tud&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"srcDeTudEtitFolder\" incomingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.5\" outgoingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.6\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;etit&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"srcApplicationFolder\" incomingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.6\" outgoingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.7\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;blipz&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"entityFolder\" incomingLink=\"//@ownedActivityNode.8/@storyPattern/@linkVariable.7\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;entities&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <linkVariable name=\"subFolder\" target=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.2\" source=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.1\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"subFolder\" target=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.3\" source=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.1\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"subFolder\" target=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.5\" source=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.2\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"subFolder\" target=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.4\" source=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.3\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"subFolder\" target=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.6\" source=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.5\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"subFolder\" target=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.7\" source=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.6\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"subFolder\" target=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.8\" source=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.7\" bindingOperator=\"CREATE\"/>\r\n      <linkVariable name=\"subFolder\" target=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.9\" source=\"//@ownedActivityNode.8/@storyPattern/@objectVariable.8\" bindingOperator=\"CREATE\"/>\r\n    </storyPattern>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StartNode\" outgoing=\"//@ownedActivityEdge.10\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.1\" target=\"//@ownedActivityNode.4\" guard=\"EACH_TIME\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.1\" target=\"//@ownedActivityNode.0\" guard=\"END\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.2\" target=\"//@ownedActivityNode.3\" guard=\"EACH_TIME\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.2\" target=\"//@ownedActivityNode.1\" guard=\"END\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.3\" target=\"//@ownedActivityNode.2\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.4\" target=\"//@ownedActivityNode.2\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.5\" target=\"//@ownedActivityNode.1\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.6\" target=\"//@ownedActivityNode.5\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.7\" target=\"//@ownedActivityNode.6\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.8\" target=\"//@ownedActivityNode.7\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.9\" target=\"//@ownedActivityNode.8\"/>\r\n</activities:Activity>\r\n" });
		addAnnotation(
				getAndroidTransformer__TransformModelToEntity__BlipModel_Folder(),
				source,
				new String[] {
						"XMI",
						"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<activities:Activity xmi:version=\"2.0\" xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activities=\"http://www.moflon.org.SDMLanguage.activities\" xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" xmlns:expressions=\"http://www.moflon.org.SDMLanguage.expressions\" xmlns:patternExpressions=\"http://www.moflon.org.SDMLanguage.patterns.patternExpressions\">\r\n  <owningOperation href=\"http://www.moflon.org.BlipLanguage#//AndroidTransformer/transformModelToEntity\"/>\r\n  <ownedActivityNode xsi:type=\"activities:StopNode\" incoming=\"//@ownedActivityEdge.0\">\r\n    <returnValue xsi:type=\"patternExpressions:ObjectVariableExpression\" object=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.0\"/>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StoryNode\" name=\"initEntityFile\" outgoing=\"//@ownedActivityEdge.0\" incoming=\"//@ownedActivityEdge.1\">\r\n    <storyPattern>\r\n      <objectVariable name=\"entityFile\" outgoingLink=\"//@ownedActivityNode.1/@storyPattern/@linkVariable.0\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//File\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\" model.getName() + &quot;.java&quot; \"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <objectVariable name=\"entityRootNode\" incomingLink=\"//@ownedActivityNode.1/@storyPattern/@linkVariable.0\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Node\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;Entity&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n      <linkVariable name=\"rootNode\" target=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.1\" source=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.0\" bindingOperator=\"CREATE\"/>\r\n    </storyPattern>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StartNode\" outgoing=\"//@ownedActivityEdge.1\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.1\" target=\"//@ownedActivityNode.0\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.2\" target=\"//@ownedActivityNode.1\"/>\r\n</activities:Activity>\r\n" });
		addAnnotation(
				getIosTransformer__TransformApplication__BlipApplication(),
				source,
				new String[] {
						"XMI",
						"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<activities:Activity xmi:version=\"2.0\" xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:activities=\"http://www.moflon.org.SDMLanguage.activities\" xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" xmlns:expressions=\"http://www.moflon.org.SDMLanguage.expressions\" xmlns:patternExpressions=\"http://www.moflon.org.SDMLanguage.patterns.patternExpressions\">\r\n  <owningOperation href=\"http://www.moflon.org.BlipLanguage#//IosTransformer/transformApplication\"/>\r\n  <ownedActivityNode xsi:type=\"activities:StopNode\" incoming=\"//@ownedActivityEdge.0\">\r\n    <returnValue xsi:type=\"patternExpressions:ObjectVariableExpression\" object=\"//@ownedActivityNode.1/@storyPattern/@objectVariable.0\"/>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StoryNode\" name=\"initFolder\" outgoing=\"//@ownedActivityEdge.0\" incoming=\"//@ownedActivityEdge.1\">\r\n    <storyPattern>\r\n      <objectVariable name=\"folder\" bindingOperator=\"CREATE\">\r\n        <type xsi:type=\"ecore:EClass\" href=\"http://www.moflon.org.MocaTree#//Folder\"/>\r\n        <attributeAssignment>\r\n          <attribute href=\"http://www.moflon.org.MocaTree#//TreeElement/name\"/>\r\n          <valueExpression xsi:type=\"expressions:LiteralExpression\" value=\"&quot;ios&quot;\"/>\r\n        </attributeAssignment>\r\n      </objectVariable>\r\n    </storyPattern>\r\n  </ownedActivityNode>\r\n  <ownedActivityNode xsi:type=\"activities:StartNode\" outgoing=\"//@ownedActivityEdge.1\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.1\" target=\"//@ownedActivityNode.0\"/>\r\n  <ownedActivityEdge source=\"//@ownedActivityNode.2\" target=\"//@ownedActivityNode.1\"/>\r\n</activities:Activity>\r\n" });
	}

} //BlipLanguagePackageImpl
